package com.acmen.easyapi.validation;

/**
 * @author chenyngjun
 * 校验消息
 */
public class Message {
    public String fieldName;
    public String msg;

    public Message(String fieldName, String msg) {
        this.fieldName = fieldName;
        this.msg = msg;
    }

    public String getFieldName() {
        return fieldName;
    }

    public Message setFieldName(String fieldName) {
        this.fieldName = fieldName;
        return this;
    }

    public String getMsg() {
        return msg;
    }

    public Message setMsg(String msg) {
        this.msg = msg;
        return this;
    }
}
